package com.yihu.wlyy.job;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

/**
 * Created by Administrator on 2016.08.23.
 */
public class MyHashMap<S, J> extends HashMap {
    public MyHashMap() {
        super();
    }

    public MyHashMap(int initialCapacity) {
        super(initialCapacity);
    }

    public Map clone() {
        Map target = new HashMap();
        for (Iterator keyIt = this.keySet().iterator(); keyIt.hasNext(); ) {
            Object key = keyIt.next();
            target.put(key, this.get(key));
        }
        return target;
    }
}
